package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2023/10/23 0023
 **/
@Data
@ApiModel("工单改派对象")
public class OrderChangeNetworkVo {
    @NotNull(message = "工单ID不能为空")
    @ApiModelProperty(value = "工单ID", required = true)
    private Long workId;

    @NotNull(message = "当前服务商ID不能为空")
    @ApiModelProperty(value = "当前服务商ID", required = true)
    private Long currentNetworkId;

    @NotNull(message = "改派的服务商ID不能为空")
    @ApiModelProperty(value = "改派的服务商ID", required = true)
    private Long changeToNetworkId;

    @ApiModelProperty(value = "改派的服务商人员ID", example = "0")
    private Long changeToNetworkEmpId;

    @Length(max = 200, message = "备注长度限制 200 个字符")
    @ApiModelProperty(value = "备注", required = true)
    private String remark;


}
